﻿using Commons.Enums;
using DomainCommons.Models;
using EntityModels.E02.Identities;
using EntityModels.E04.Interactions;

namespace EntityModels.E05.Reports
{
    public class CommentReport:BaseEntity<int>
    {
        public Comment Comment { get; set; }
        public int CommentId { get; set; }
        //public string? CommentContent { get; set; }
        public AppUser Reporter { get; set; }
        public Guid ReporterId { get; set; }
        //public string? ReporterName { get; set; }
        public ReportStatusEnum Status { get; set; }
        public int ReportTypeId { get; set; }
        public ReportType ReportType { get; set; }
        public DateTime UpdateTime { get; set; }

        public void Examine(ReportStatusEnum status)
        {
            Status = status;    
            UpdateTime = DateTime.Now;
        }
    }
}
